package com.muyu.vehicle.config;

import org.apache.kafka.clients.admin.NewTopic;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author : CZQ
 * @date : 2024-06-14 13:24
 * @description :
 **/
@Configuration
public class KafkaConfig {

    @Bean
    public NewTopic kafkaSend(){
        return new NewTopic("kafkaSend",1, (short) 1);
    }

}
